<?php
use app\modules\clinical\models\Patient;
use app\modules\clinical\models\ExcelSca;

$params = ExcelSca::getParams();
?>

  <!-- 第二部分 -->
  <tr class="title">
      <td colspan="6"><h4>一、患者信息与表格信息</h4></td>
  </tr>
  <tr>
      <th>姓名</th>
      <td><?= ($model->rel_id == 0) ? Yii::$app->session->get('pt_name') : Patient::findOne(['pk_id'=>$model->pt_id])->pt_name ?></td>
      <th>与患者关系</th>
      <td colspan="3"><?= ($model->rel_id == 0) ? '本人' : Patient::getParams('relation')[$rel[$model->pt_id]] ?></td>
  </tr>
  <tr>
      <th>创建人</th>
      <td><?= $model->crt_name ?></td>
      <th>创建时间</th>
      <td colspan="3"><?= $model->crt_time ?></td>
  </tr>
  <tr>
      <th>修改人</th>
      <td><?= $model->update_name ?></td>
      <th>修改时间</th>
      <td colspan="3"><?= $model->update_at ?></td>
  </tr>
  <tr class="title">
      <td colspan="6"><h4>二、临床症状</h4></td>
  </tr>
  <tr>
      <th width="250">动眼神经麻痹</th>
      <td><?= $params['youwu'][$model->excel->eye_dongyan] ?></td>
      <th>眼球震颤</th>
      <td><?= $params['youwu'][$model->excel->eye_zhenchan] ?></td>
      <th>玻璃体混浊</th>
      <td><?= $params['youwu'][$model->excel->eye_hunzhuo] ?></td>
  </tr>
  <tr>
      <th>视网膜色素变性</th>
      <td><?= $params['youwu'][$model->excel->eye_sesu] ?></td>
      <th>黄斑变性</th>
      <td><?= $params['youwu'][$model->excel->eye_huang] ?></td>
      <th>白内障</th>
      <td><?= $params['youwu'][$model->excel->eye_bainei] ?></td>
  </tr>
  <tr>
      <th>智力障碍或直立发育异常或痴呆</th>
      <td colspan="5"><?= $model->excel->mtl_zhangai ?></td>
  </tr>
  <tr>
      <th>精神发育迟滞</th>
      <td colspan="5"><?= $model->excel->mtl_chizhi ?></td>
  </tr>

  <!-- 第三部分 -->
  <tr class="title">
      <td colspan="6"><h4>三、体征</h4></td>
  </tr>
  <tr>
      <th>构音障碍</th>
      <td><?= $params['youwu'][$model->excel->bd_gouyin] ?></td>
      <th>肌萎缩</th>
      <td><?= $params['youwu'][$model->excel->bd_jiwei] ?></td>
      <th>指鼻</th>
      <td ><?= $params['zhibi'][$model->excel->bd_gg_zhibi] ?></td>
  </tr>
  <tr>
      <th>快速轮替试验</th>
      <td><?= $params['yinyang'][$model->excel->bd_gg_lunti] ?></td>
      <th>跟膝胫</th>
      <td colspan="3"><?= $params['yinyang'][$model->excel->bd_gg_genxi] ?></td>
  </tr>
  <tr>
      <th>行走困难</th>
      <td colspan="5"><?= $model->excel->bd_xingzou ?></td>
  </tr>
  <tr>
      <th>本体（深）感觉:</th>
      <th>romberg征</th>
      <td><?= $params['yinyang'][$model->excel->bd_romberg] ?></td>
      <th>一字步</th>
      <td colspan="2"><?= $params['yizi'][$model->excel->bd_yizi] ?></td>
  </tr>
  <tr>
      <th>周围神经检查</th>
      <td colspan="5"><?= $model->excel->bd_zhouwei ?></td>
  </tr>
  <tr>
      <th>病理征</th>
      <td ><?= $params['yinyang'][$model->excel->bd_bingli] ?></td>
      <th>肌张力</th>
      <td><?= $params['jizhangli'][$model->excel->bd_zhangli] ?></td>
      <th>腱反射</th>
      <td><?= $params['jianfan'][$model->excel->bd_jianfan] ?></td>
  </tr>
  <tr>
      <th>肌束震颤</th>
      <td ><?= $params['youwu'][$model->excel->bd_jishu] ?></td>
      <th>高弓足</th>
      <td colspan="3"><?= $params['youwu'][$model->excel->bd_gongzu] ?></td>
  </tr>
